using System;
using MvpFramework;

namespace MvpFramework.UnitTests.Stubs
{
    public interface ITestViewWithDependencies
    {
        
    }
    public class TestViewWithDependencies:ITestViewWithDependencies, IMvpView
    {
        public TestViewWithDependencies()
        {
            WhenIWasCreated = DateTime.Now;
        }
        #region Implementation of IInitialLoadView


        /// <summary>
        /// Is this the first time the view was loaded?
        /// </summary>
        public bool IsInitialLoad
        {
            get { return true; }
        }
        public DateTime WhenIWasCreated { get; private set; }

        #endregion
    }
    public class SomeRepo{}
    public class TestPresenterWithDependencies:Presenter<TestViewWithDependencies>{
        public TestPresenterWithDependencies(TestViewWithDependencies view,SomeRepo repo) : base(view)
        {
        }
        public TestViewWithDependencies TheView { get { return View; } }
    }
}